package com.infosys.facturacion;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Font;

public class Gui_articulo extends JFrame {

	private JPanel contentPane;
	private JTextField textArticulo;
	private JTextField textCosto;

	

	public Gui_articulo() {
		
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 553, 249);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblDescripcion = new JLabel("Descripcion Articulo:");
		lblDescripcion.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblDescripcion.setBounds(10, 63, 123, 14);
		contentPane.add(lblDescripcion);
		
		JLabel lblCosto = new JLabel("Costo:");
		lblCosto.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblCosto.setBounds(75, 99, 58, 14);
		contentPane.add(lblCosto);
		
		textArticulo = new JTextField();
		textArticulo.setBounds(143, 63, 330, 25);
		contentPane.add(textArticulo);
		textArticulo.setColumns(10);
		
		textCosto = new JTextField();
		textCosto.setBounds(143, 99, 231, 25);
		contentPane.add(textCosto);
		textCosto.setColumns(10);
		
		JButton btnGuardar = new JButton("Ingresar");
		btnGuardar.setBounds(183, 148, 89, 32);
		contentPane.add(btnGuardar);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(304, 148, 89, 32);
		contentPane.add(btnCancelar);
		
		JLabel lblingresar_articulos = new JLabel("INGRESO DE NUEVOS ARTICULOS");
		lblingresar_articulos.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblingresar_articulos.setBounds(183, 11, 179, 14);
		contentPane.add(lblingresar_articulos);
	}

}
